package org.framework.core.asm;

import org.framework.core.FrameworkRuntimeException;

public class ReflectMethodNotFoundException extends FrameworkRuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8153644159505218690L;
	
	private Class<?> cls;
	
	public ReflectMethodNotFoundException(Class<?> cls) {
		this.cls = cls;
	}
	
	@Override
	public String getMessage() {
		return String.format("class %s or superclass not defined @Reflect method", cls.getName());
	}
}
